package com.yuwei.database.entity

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable

@Entity(tableName = "address_info")
data class AddressEntity(
    @PrimaryKey(autoGenerate = true)
    val id: Int,
    val address: String,
    val fullAddress: String,
    val name: String,
    val phone: String,
    val user_id: Int,
    val tag: String,
    var isChecked: Boolean = false,
    @ColumnInfo(name = "is_default")
    val isDefault: Int = 0,
): Serializable